home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12438 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.3 KB  |  64 lines

  1. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  2. Path: uu4news.netcom.com!amc-gw!sheldon
  3. From: sheldon@amc.com (Sheldon White)
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Message-ID: <1996Mar19.183154.18826@amc.com>
  6. Organization: Applied Microsystems, Redmond, WA
  7. References: <4idh80$6tj@solutions.solon.com> <4idk8oINNrr2@keats.ugrad.cs.ubc.ca> <4if97t$1cqm@saba.info.ucla.edu>
  8. Date: Tue, 19 Mar 1996 18:31:54 GMT
  9.  
  10. In article <4if97t$1cqm@saba.info.ucla.edu> jmartin@cs.ucla.edu (Jay Martin) writes:
  11. >c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
  12. >
  13.  
  14. (deletia)
  15.  
  16. >
  17. >Alright dumbshits lesson time:
  18. >
  19. >  -- Tools and operating systems that only support one language are junk.
  20. >     Basic computer science, anyone who thinks otherwise is incompetent.
  21. >  
  22.  
  23. That's probably true. Fortunately, UNIX is not such a system.
  24.  
  25. >  -- Stupidly go on and on about how an certain IO routine is not as fast
  26. >     as Lex, not too swift.  (1) Won't matter if your reading in 1K.
  27. >     (2) Just shows the IO routine is broken.  Its trivia.
  28. >   
  29.  
  30. I've worked on a lot of parsers, both using Yacc/Lex and using straight C
  31. code. Unless the syntax was completely trivial, using a tool like Yacc is
  32. vital for maintaining the code. Also, if your scanf version is too slow, what
  33. are you going to do? Rewrite scanf()?
  34.  
  35. >  -- Go on and on how its great to over-engineer something simple.
  36. >     How great it is to be a "savant" at a criptic tool with little
  37. >     eye to the effects of using that tool to the maintainability
  38. >     of the software.  This is called "eat shit next guy" hacking.
  39. >
  40.  
  41. Have you ever had to maintain a large parser, day in and day out, written in
  42. "just-crank-some-code" C? Talk about "eat shit next guy"...
  43.  
  44. Have you ever used a tool like Yacc?
  45.  
  46. >Of course when you tell of maintainance headaches caused by abuse of
  47. >these tools do to they are ready availability and it is supposed to be
  48. >so cool to use them.  Then its the usual C/Unix hacker macho attitude
  49. >of "they are just lame programmers" the tools are great!  
  50. >
  51.  
  52. There's nothing cool about Yacc. There's nothing cool about a sledgehammer.
  53. They are tools that can make life much, much easier.
  54.  
  55. >The Unix philosophy is great for the quick hack, but for larger
  56. >software development the philosophy becomes counter productive.
  57.  
  58. I'm sorry, but you sound like someone who hasn't had to maintain a large
  59. -- 
  60.  
  61. -sheldon white-  :^/
  62.  
  63. sheldon@amc.com
  64.